home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / boottv27.lha / BootUte_2 / Install_IconX < prev    next >
AmigaDOS Script File  |  1995-09-25  |  3KB  |  101 lines

  1. .key install_dir
  2. .bra {
  3. .ket }
  4.  
  5. ; This is an AmigaDOS script that installs BootUte 2.62.
  6. ;
  7. ; Script written by Paul Toyne.
  8. ;
  9. ; ©1995 TLS Software.
  10. ;
  11. ; Usage : Install_IconX <Place to install the BootUte directory>
  12.  
  13. Failat 100
  14.  
  15. Echo "Welcome to BootUte's installation script"
  16. Echo " "
  17. Echo "Written by Paul Toyne"
  18. Echo " "
  19. Echo "©1995 TLS Software"
  20. Echo ""
  21.  
  22. If "{install_dir}" EQ ""
  23.   Echo "Usage : Install_IconX <directory>"
  24.   Echo " "
  25.   Echo "Make sure the <directory> ends in a '/' or a ':'"
  26.   Skip END
  27. EndIf
  28.  
  29. Version >NIL: VERSION 37
  30.  
  31. If WARN
  32.   Echo "Sorry BootUte only works on Kickstart 2.0 or above"
  33.   Echo "I suggest you upgrade immediately"
  34.   Skip END
  35. EndIf
  36.  
  37. If EXISTS C:BootUte
  38.   Echo "Deleting your previous version of BootUte"
  39.   Delete >NIL: C:BootUte
  40. EndIf
  41.  
  42. Delete >NIL: ENV:BootUte
  43. Delete >NIL: ENVARC:BootUte
  44.  
  45. If NOT EXISTS "{install_dir}BootUte"
  46.   Makedir >NIL: "{install_dir}BootUte"
  47.   Copy >NIL: Docs.info "{install_dir}BootUte.info"
  48. EndIf
  49.  
  50. If NOT EXISTS "{install_dir}BootUte/Docs"
  51.   Makedir >NIL: "{install_dir}BootUte/Docs"
  52. EndIf
  53.  
  54.  
  55. Echo "Copying BootUte's files"
  56.  
  57. Copy >NIL: BootUte_2 "{install_dir}BootUte/"
  58. Copy >NIL: README "{install_dir}BootUte/"
  59. Copy >NIL: Docs/BootUte_2.guide "{install_dir}BootUte/Docs/"
  60. Copy >NIL: Docs/BootUte_2.doc "{install_dir}BootUte/Docs/"
  61. Copy >NIL: Docs/Register_BU.doc "{install_dir}BootUte/Docs/"
  62.  
  63. Ask "Do you want to install the MagicWB icons (y/N) ?"
  64.  
  65. If WARN
  66.   Copy >NIL: MagicWB/BootUte_2.info "{install_dir}BootUte/"
  67.   Copy >NIL: MagicWB/README.info "{install_dir}BootUte/"
  68.   Copy >NIL: MagicWB/Docs.info "{install_dir}BootUte/"
  69.   Copy >NIL: MagicWB/Docs/BootUte_2.guide.info "{install_dir}BootUte/Docs/"
  70.   Copy >NIL: MagicWB/Docs/BootUte_2.doc.info "{install_dir}BootUte/Docs/"
  71.   Copy >NIL: MagicWB/Docs/Register_BU.doc.info "{install_dir}BootUte/Docs/"
  72. Else
  73.   Copy >NIL: BootUte_2.info "{install_dir}BootUte/"
  74.   Copy >NIL: README.info "{install_dir}BootUte/"
  75.   Copy >NIL: Docs.info "{install_dir}BootUte/"
  76.   Copy >NIL: Docs/BootUte_2.guide.info "{install_dir}BootUte/Docs/"
  77.   Copy >NIL: Docs/BootUte_2.doc.info "{install_dir}BootUte/Docs/"
  78.   Copy >NIL: Docs/Register_BU.doc.info "{install_dir}BootUte/Docs/"
  79. Endif
  80.  
  81. If NOT EXISTS "ENV:TLS"
  82.   Makedir >NIL: ENV:TLS
  83. EndIf
  84.  
  85. If NOT EXISTS "ENV:TLS/BootUte"
  86.   Makedir >NIL: ENV:TLS/BootUte
  87. EndIf
  88.  
  89. If NOT EXISTS "ENVARC:TLS"
  90.   Makedir >NIL: ENVARC:TLS
  91. EndIf
  92.  
  93. If NOT EXISTS "ENVARC:TLS/BootUte"
  94.   Makedir >NIL: ENVARC:TLS/BootUte
  95. EndIf
  96.  
  97. Echo " "
  98. Echo "BootUte 2.62 has been installed in '{install_dir}BootUte/'"
  99.  
  100. Lab END
  101.